package distributedbank.server.messages;

import java.util.Map;

import distributedbank.server.Account;

public class HistoryResponse
        extends Acknowledgment {

    private static final long serialVersionUID = 1L;
    public final Map<Integer, Account> history;

    /**
     * A transaction ID of -1 is reserved for HistoryResponse objects.
     */
    public HistoryResponse(Map<Integer, Account> history) {
        super(-1);
        this.history = history;
    }
}
